find duplicate characters from string in java